groundsdk 7.7.2 API
7.7.2
androidJvm
groundsdk 7.7.2 API
/
com.parrot.drone.groundsdk.facility
/
UserLocation
User
Location
interface
UserLocation
:
Facility
Facility that informs about the user (phone) location.
Members
Functions
is
Authorized
Link copied to clipboard
abstract
fun
isAuthorized
(
)
:
Boolean
Checks if location service is authorized.
last
Known
Location
Link copied to clipboard
@
Nullable
abstract
fun
lastKnownLocation
(
)
:
Location
Gets the last known user location.
restart
Location
Updates
Link copied to clipboard
abstract
fun
restartLocationUpdates
(
)
Starts location updates if UserLocation is already observed and all authorizations are granted.